<div class="am-u-sm-12">
    <form class="am-form" id="list-form" action="${base}/apiLog/apiTimeRangeByDayTable" method="post">
        <input type="hidden" id="keywords" name="keywords" value='${keywords!""}'/>
        <table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
            <tbody>
            <tr>
                <th class="am-text-middle">接口名称</th>
                <td>
                    <div class="am-u-sm-10">
                        <select data-am-selected="{btnSize:'sm',maxHeight: 200,btnWidth: 200,searchBox: 1}" id="api_option">
                            <!--<option value="-1">全部</option>-->
                            <%for(option in api_options){%>
                            <option value="${option.api}" <%if(option.api==api!""){%>
                            selected
                            <%}%>>${option.api}</option>
                            <%}%>
                        </select>
                    </div>
                </td>
                <th class="am-text-middle">时间区间</th>
                <td>
                    <div class="am-u-sm-10">
                        <div class="am-form am-form-inline">
                            <div class="am-form-group am-form-icon">
                                <i class="am-icon-calendar"></i>
                                <input type="text" class="am-form-field am-input-sm" id="time_start"
                                       value="${time_start!}" placeholder="开始日期" data-am-datepicker>
                            </div>
                            <div class="am-form-group">至</div>
                            <div class="am-form-group am-form-icon">
                                <i class="am-icon-calendar"></i>
                                <input type="text" class="am-form-field am-input-sm" id="time_end"
                                       value="${time_end!}" placeholder="结束日期" data-am-datepicker>
                            </div>
                            <span style="color: red;">*默认显示昨天到今天的数据，请不要选择太大的时间范围</span>
                        </div>
                    </div>
                </td>
            </tr>

            <tr>
                <td colspan="4">
                    <div align='right'>

                        <button type="button" class="am-btn am-btn-default am-btn-sm am-text-secondary" id="submit-btn"
                                onClick="submit_btn('search');">搜索
                        </button>
                        <button type="button" class="am-btn am-btn-default am-btn-sm am-text-secondary" id="export-btn"
                                onClick="submit_btn('export');">导出
                        </button>
                    </div>
                </td>
            </tr>
            </tbody>
        </table>
    </form>
</div>